package com.ericsson.enap.modules.procLog.entity;

import com.opencsv.bean.CsvBindByName;
import lombok.Data;

/**
 * @description: procLogCsv映射类
 * @author: wangjingshi
 * @create: 2021-05-07 09:42
 */
@Data
public class ProcLogCsv {

    @CsvBindByName(column = "LogType(v1.1)")
    private String logType;//1：南向（southbound），2：北向（northbound）

    @CsvBindByName(column = "RootLogId")
    private String rootLogId;

    @CsvBindByName(column = "SubLogId")
    private String subLogId;

    @CsvBindByName(column = "TransactionId")
    private String transactionId;

    @CsvBindByName(column = "Instance")
    private String instance;

    @CsvBindByName(column = "Operation")
    private String operation;

    @CsvBindByName(column = "Status")
    private String status;//1:SUCCESSFUL,2:FAILED

    @CsvBindByName(column = "User")
    private String user;

    @CsvBindByName(column = "Hostname")
    private String hostname;

    @CsvBindByName(column = "Protocol")
    private String protocol;

    @CsvBindByName(column = "Target")
    private String target;

    @CsvBindByName(column = "StartTime")
    private String startTime;

    @CsvBindByName(column = "ExecuteTime")
    private String executeTime;

    @CsvBindByName(column = "ResponseCode")
    private String responseCode;

    @CsvBindByName(column = "FullRequest")
    private String fullRequest;

    @CsvBindByName(column = "FullResponse")
    private String fullResponse;

    @CsvBindByName(column = "ReplayLogId")
    private String replayLogId;


    private String eda;

    private Long edaId;

}
